package com.kunag.builderFactory.demo3;

/**
 * @Title:
 * @Description:
 * 指挥者：项目经理
 * @Author: zx
 * @Date: create in 15:03 2020/8/5
 * @Version: 1.0
 */
public class ProjectManager {
    private Decorator builder;
    public ProjectManager(Decorator builder)
    {
        this.builder=builder;
    }
    //产品构建与组装方法
    public Parlour decorate()
    {
        builder.buildWall();
        builder.buildTV();
        builder.buildSofa();
        return builder.getResult();
    }
}
